package com.sky.mapper;

import com.sky.entity.Voucher;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface VoucherMapper {
    void insert(Voucher voucher);
    void update(Voucher voucher);
    void deleteById(Long id);
    Voucher getById(Long id);
    List<Voucher> list();
}